/*	Renegade Scripts.dll
	Scripts by sla.ro - sla company
	Copyright 2010 sla.ro

	This file is part of the Renegade scripts.dll
	The Renegade scripts.dll is free software; you can redistribute it and/or modify it 
	under the terms of the GNU General Public License as published by the Free
	Software Foundation; either version 2, or (at your option) any later
	version. See the file COPYING for more details.
	In addition, an exemption is given to allow Run Time Dynamic Linking of this code 
	with any closed source module that does not contain code covered by this licence.
	Only the source code to the module(s) containing the licenced code has to be released.
*/

class sla_enter_cmsg_gdi: public ScriptImpClass {
 void Entered(GameObject *obj,GameObject *enter);
};

class sla_poke_play_sound: public ScriptImpClass {
 void Poked(GameObject *obj,GameObject *poker);
};

class sla_poke_cmsg_gdi: public ScriptImpClass {
 void Poked(GameObject *obj,GameObject *poker);
};

class sla_enter_play_sound: public ScriptImpClass {
 void Entered(GameObject *obj,GameObject *enter);
};


class sla_poke_distroy_obj: public ScriptImpClass {
 void Poked(GameObject *obj,GameObject *poker);
};


class sla_enable_poke: public ScriptImpClass {
 void Created(GameObject *obj);
};

class sla_enter_cmsg_nod: public ScriptImpClass {
 void Entered(GameObject *obj,GameObject *enter);
};

class sla_enter_send_message: public ScriptImpClass {
 void Created(GameObject *obj);
 void Entered(GameObject *obj,GameObject *enter);
 void Timer_Expired(GameObject *obj, int number);
 void Register_Auto_Save_Variables();
 bool sendmsg;
 float delay;
 int msg;
 int id;
 int prm;
};

class sla_m05_endgame: public ScriptImpClass {
	void Custom(GameObject *obj, int message, int param, GameObject *sender);
	void Timer_Expired(GameObject *obj, int number);
};
class sla_M05_Checkpoint1: public ScriptImpClass {
	void Created(GameObject *obj);
	void Custom(GameObject *obj, int message, int param, GameObject *sender);
	void Timer_Expired(GameObject *obj, int number);
	void Register_Auto_Save_Variables();
	void Poked(GameObject *obj, GameObject *poker);
	bool tele;//our var to check if teleporting is allowed or not
	bool allowpoke; //our var to check if they may press E or not
	int gotoid1;
	int gotoid2;
	int gotoid3;
	int gotoid4;
	int gotoid5;//our goto position for teleporting...
};
class sla_M05_Gunner: public ScriptImpClass {
	void Created(GameObject *obj);
	//void Register_Auto_Save_Variables();
	void Poked(GameObject *obj, GameObject *poker);
	bool allowpoke;
};


class sla_poke_send_custom: public ScriptImpClass {
  int sendider;
 void Poked(GameObject *obj, GameObject *poker);
};

class sla_enable_poke_delay: public ScriptImpClass {
	void sla_enable_poke_delay::Created(GameObject *obj);
	float delay;
	void Timer_Expired(GameObject *obj, int number);
	void sla_enable_poke_delay::Poked(GameObject *obj, GameObject *poker);
};

class sla_teleportconsole: public ScriptImpClass {
	void sla_teleportconsole::Poked(GameObject *obj, GameObject *poker);
	void sla_teleportconsole::Created(GameObject *obj);
	int teleport;
	int wait;
	int getmessage;
	int getmessage2;
	int getparam;
	int teleport1;
	int teleport2;
	float delaytime;
	void sla_teleportconsole::Custom(GameObject *obj, int message, int param, GameObject *sender);
	void sla_teleportconsole::Timer_Expired(GameObject *obj, int number);
};

class sla_death_cmsg_delay: public ScriptImpClass {
	bool make;
	void Killed(GameObject *obj,GameObject *shooter);
	void Created(GameObject *obj);
	float delay;
	void Timer_Expired(GameObject *obj, int number);
};

class sla_poke_gameover: public ScriptImpClass {
	void Timer_Expired(GameObject *obj, int number);
	void Poked(GameObject *obj, GameObject *poker);
};